#!/bin/bash

domain=$1

mkdir -p ./certs/$domain

cp ./home/.acme.sh/$domain/fullchain.cer certs/$domain/$domain.crt
cp ./home/.acme.sh/$domain/$domain.key certs/$domain/
